Skip to content

Fix GHSA-82j2-j2ch-gfr8: remove rustls-webpki <0.103.13 (DoS via malformed CRL)#62

Merged
jeremiahlukus merged 2 commits into
mainfrom
fix/ghsa-82j2-j2ch-gfr8-rustls-webpki
Jun 5, 2026
Merged

Fix GHSA-82j2-j2ch-gfr8: remove rustls-webpki <0.103.13 (DoS via malformed CRL)#62
jeremiahlukus merged 2 commits into
mainfrom
fix/ghsa-82j2-j2ch-gfr8-rustls-webpki

Conversation

@jeremiahlukus
Copy link
Copy Markdown
Contributor

Summary

  • Fixes Dependabot alert add troubleshooting details #31 (GHSA-82j2-j2ch-gfr8, CVSS 7.5 High)
  • aws-sdk-ssm's default features pulled in a redundant legacy TLS stack (rustls 0.21rustls-webpki 0.101.7) alongside the already-present modern stack (rustls 0.23)
  • Disabling the rustls default feature on aws-sdk-ssm removes the entire legacy stack; default-https-client + rt-tokio retain full functionality via rustls 0.23

What changed

Cargo.toml — one line:

-aws-sdk-ssm = "1.112.0"
+aws-sdk-ssm = { version = "1.112.0", default-features = false, features = ["default-https-client", "rt-tokio"] }

Cargo.lock — removes rustls 0.21.12, rustls-webpki 0.101.7, hyper 0.14.32, hyper-rustls 0.24.2, tokio-rustls 0.24.1, sct, and legacy socket2/h2 versions. Smaller binary as a side effect.

Test plan

  • cargo build succeeds
  • cargo tree -i rustls-webpki@0.101.7 returns no match (package no longer present)

aws-sdk-ssm's default features enabled a legacy rustls 0.21 TLS stack
alongside the modern rustls 0.23 stack. Disabling that redundant legacy
feature removes rustls-webpki <0.103.13 from the dependency tree entirely.
@jeremiahlukus jeremiahlukus merged commit c3dcc7a into main Jun 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant